You can use the usual C# regular expression. This is the right example: ^\w{1,200}$ When you empty the HTML field, so you probably have the string "<p></p>" in the HTML editor - that is the way how HTML editor works. This string falls within the ^\w{1,200}$ match.